SftTree/NET 2.0

OnMouseMove Method, SftTree Class

Softel vdm, Inc.

Raises the MouseMove event.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Protected Overrides Sub OnMouseMove( ByVal e As MouseEventArgs )

C#   

protected override void OnMouseMove( MouseEventArgs e );

C++   

protected: virtual void OnMouseMove( MouseEventArgs^ e );

e

The event data.

Comments

The OnMouseMove method raises the MouseMove event.

Raising an event invokes the event handler through a delegate.

The OnMouseMove method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

When overriding OnMouseMove in a derived class, make sure to call the base class's OnMouseMove method so that registered delegates receive the event.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com